'use strict';

/**
 * 课表考勤相关接口
 */
const classAttendanceCtrl = require('../../controllers/class_attendance');
const router = require('koa-router')();

router.post('/update', classAttendanceCtrl.update_class_attendance);
router.post('/export', classAttendanceCtrl.export_class_attendance);
router.post('/query_daily_attendance', classAttendanceCtrl.query_daily_attendance);
router.post('/stat', classAttendanceCtrl.stat);
router.post('/query', classAttendanceCtrl.query);

module.exports = router;
